/*
 * CXMLParser.h
 *
 *  Created on: 4 oct. 2009
 *      Author: Maxime Gaudin
 */
#ifndef STRING_H
	#include <string>
	#define STRING_H
#endif

#ifndef VECTOR_H
	#include <vector>
	#define VECTOR_H
#endif

#ifndef REGEX_H
	#include <boost/regex.hpp>
	#define REGEX_H
#endif

#ifndef CXMLPARSER_H_
#define CXMLPARSER_H_

class CXMLParser {
	public:
		CXMLParser();
		virtual ~CXMLParser();

	public:
		std::vector<std::string> getItems(std::string XMLSource);


	private:
		boost::regex itemRegex;
		boost::regex titleRegex;
		boost::regex linkRegex;
		boost::regex categoryRegex;
		boost::regex descriptionRegex;
		boost::regex pubDateRegex;
};

#endif /* CXMLPARSER_H_ */
